//
//  iOSTest.m
//  iOSTest
//
//  Created by 刘杰 on 2019/6/19.
//  Copyright © 2019 jerry. All rights reserved.
//

#import <XCTest/XCTest.h>
@import MyEncrypt;
@interface iOSTest : XCTestCase

@end

@implementation iOSTest


- (void)testExample {
    NSString * seed = @"gregaew";
    NSString * toEncrypted = @"嗷嗷啊fjieowio12930>?P";
    NSString * encrypted = [MyEncrypt encryptString:toEncrypted seed:seed];
    NSString * decrypted = [MyEncrypt decryptString:encrypted seed:seed];
    XCTAssert([toEncrypted isEqualToString:decrypted]);
}


@end
